package org.cms.nio;

import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;

import org.cms.nio.bufferpool.ByteBufferArray;


/**
 * @Description: 
 * @Department:
 * @author andy.lhc
 * @date 2016年6月2日 下午2:20:16 
 */
public class FrontendConnection extends Connection {

  /**
   * @param channel
   */
  public FrontendConnection(SocketChannel channel) {
    super(channel);
  }
  
  @Override
  public String getCharset() {
    return "UTF-8";
  }
   
  @Override
  protected int parseProtocolPakage(ByteBufferArray readBufferArray, ByteBuffer readBuffer,
      int readBufferOffset) {
    
    return 0;
  }

}
